package com.cfets.annualAssessment.mapper;

import com.cfets.annualAssessment.entity.CfetsNews;
import com.cfets.annualAssessment.util.MyMapper;
import org.apache.ibatis.annotations.Select;

/**
 * @author DavidSun
 * @create 2018-12-07 14:29
 * @desc cfetsnews映射
 **/

public interface CfetsNewsMapper extends MyMapper<CfetsNews> {
    // 可以自定义一个搜索方式
    @Select("select * from cfetsnews where id =#{id}")
    CfetsNews selectByid( int id);
}

